<?php
if (isset($_SESSION['player_id'])) {

?>

<table border="0" cellpadding="0" cellspacing="0" width="100%">
 <tr bgcolor="#000000"> 
  <td width="100%"> 
   <table border="0" width="100%">
    <tr bgcolor="#333333"> 
     <td valign="bottom" colspan="2" > 
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
       <tr valign="middle"> 
        <td align="left" bgcolor="#333333">
         <a href="index.php?section=account&mode=main">Общее</a> |
         <a href="index.php?section=account&mode=profile">Изменить свои данные</a> |
         <a href="index.php?section=account&mode=password">Сменить пароль</a> 
        </td>
        </tr>
      </table>
     </td>
    </tr>
   </table>
  </td>
 </tr>
</table>

<?php
switch ($_GET['mode']) {
		case "main": 
		require ("account_main.php");
		break;
		case "profile": 
		require ("account_profile.php");
		break;
		case "password": 
		require ("account_password.php");
		break;
		default:
		require ("account_main.php");}


}
else print ('Время вашей сессии истекло!');

?>